package com.five.dao;

import com.five.entity.Travel;

import java.util.List;

public interface TravelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Travel record);

    int insertSelective(Travel record);

    Travel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Travel record);

    int updateByPrimaryKey(Travel record);

    List<Travel> selectByUserId(Integer userId);

    List<Travel> selectAll();
}